* {
  box-sizing: border-box;
}

.gh-header-title {
  word-wrap: break-word;
  font-weight: 400;
  line-height: 1.125;
  margin-bottom: 0;
  font-size: 32px;
  // margin-right: 150px;
}

.comment-body {
  font-size: 14px;
  overflow: visible;
  padding: 15px;
  width: 100%;
}

.markdown-body:before {
  content: "";
  display: table;
}

.timeline-comment-header {
  align-items: center;
  background-color: #f6f8fa;
  border-bottom: 1px solid #d0d7de;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  color: #57606a;
  display: flex;
  flex-direction: row-reverse;
  padding-left: 16px;
  padding-right: 16px;
}

.gutter-lg {
  margin-left: -16px;
  margin-right: -16px;
}

.state,
.State {
  border-radius: 2em;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  padding: 5px 12px;
  text-align: center;
  white-space: nowrap;
}

.gh-header-actions .btn-sm {
  float: left;
  margin-left: 4px;
}

.timeline-comment-label {
  border: 1px solid transparent;
  border-color: #d0d7de;
  border-radius: 2em;
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  padding: 0 7px;
  cursor: default;
  float: right;
  margin-left: 8px;
}

.TimelineItem:before {
  background-color: rgb(216, 222, 228);
  bottom: 0;
  content: "";
  display: block;
  left: 0;
  position: absolute;
  top: 0;
  width: 2px;
}

.TimelineItem {
  display: flex;
  margin-left: 16px;
  padding: 16px 0;
  position: relative;
}

.timeline-comment--caret:after,
.timeline-comment--caret:before {
  -webkit-clip-path: polygon(0 50%, 100% 0, 100% 100%);
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  content: " ";
  display: block;
  height: 16px;
  left: -8px;
  pointer-events: none;
  position: absolute;
  right: 100%;
  top: 11px;
  width: 8px;
}

.timeline-comment--caret:before {
  background-color: rgb(208, 215, 222);
}

.timeline-comment {
  background-color: #fff;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  color: #24292f;
  position: relative;
}

.discussion-sidebar-item {
  color: #57606a;
  font-size: 12px;
  padding-top: 16px;
}

.gh-header-meta .State {
  margin-right: 8px;
}

.state,
.State {
  border-radius: 2em;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  padding: 5px 12px;
  text-align: center;
  white-space: nowrap;
}

.state,
.State,
.State--draft {
  background-color: #6e7781;
  border: 1px solid #00000000;
  color: #fff;
}

.State--open {
  background-color: #2da44e;
  border-color: #00000000;
  color: #fff;

  svg {
    color: #fff;
  }
}


.f1-light {
  font-size: 32px !important;
  font-weight: 300 !important;
  color: #57606a;
  padding-left: 10px;
}

.gh-header-meta {
  border-bottom: 1px solid #d0d7de;
  color: #57606a;
  font-size: 14px;
  margin-top: 8px;
  padding-bottom: 8px;
}

.gh-header.issue .gh-header-meta {
  margin-bottom: 16px;
}

.gutter-lg>[class*=col-] {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

.TimelineItem-avatar {
  left: -72px;
  position: absolute;
  z-index: 1;
}

.timeline-comment-actions {
  float: right;
  margin-left: 8px;
}

.d-md-inline-block {
  display: inline-block !important;
}

.position-relative {
  position: relative !important;
}

.timeline-comment-action {
  color: #57606a;
  display: inline-block;
  padding: 8px 4px;
}

.Link--secondary {
  color: #57606a !important;
}

.page-responsive .comment-reactions.has-reactions {
  display: flex;
}

.social-reaction-summary-container .has-reactions {
  margin: 0 16px 16px;
}

.discussion-sidebar-item {
  color: #57606a;
  font-size: 12px;
  padding-top: 16px;
}

.discussion-sidebar-item+.discussion-sidebar-item {
  border-top: 1px solid #d8dee4;
  margin-top: 16px;
}

.discussion-sidebar-heading {
  color: #57606a;
  font-size: 12px;
  margin-bottom: 8px;
}

.sidebar-notifications .thread-subscription-status .btn-sm {
  display: block;
  width: 100%;
}

.thread-subscribe-button {
  background-color: #f3f4f6;
  border-color: #1b1f2426;
  transition-duration: .1s;
  font-weight: 500;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

.gh-header {
  margin-bottom: 38px !important;
}

.timeline-comment-header-text {
  flex: 1 1 auto;
  margin-bottom: 1px;
  min-width: 0;
  padding-bottom: 8px;
  padding-top: 8px;
}

.sidebar-notifications .thread-subscription-status .reason {
  margin: 4px 0 0;
  padding: 0;
}

.social-reaction-summary-item {
  background-color: #f6f8fa;
  border: 1px solid #d0d7de;
  border-radius: 100px;
  font-size: 12px;
  height: 26px;
  line-height: 26px;
  margin-right: 0;
  padding: 0 6px !important;

  .social-button-emoji {
    display: inline-block;
    font-size: 1em !important;
    height: 16px;
    line-height: 1.25;
    vertical-align: -1px;
    width: 16px;
    margin: 0 2px;
  }

}

.markdown-body>:last-child {
  margin-bottom: 0 !important;
}

.page-responsive .add-reaction-btn {
  opacity: 0;
}

.timeline-comment--caret:after,
.timeline-comment--caret:before {
  -webkit-clip-path: polygon(0 50%, 100% 0, 100% 100%);
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  content: " ";
  display: block;
  height: 16px;
  left: -8px;
  pointer-events: none;
  position: absolute;
  right: 100%;
  top: 11px;
  width: 8px;
}

.timeline-comment--caret:after {
  background-color: rgb(255, 255, 255);
  background-image: linear-gradient(rgb(246, 248, 250), rgb(246, 248, 250));
  margin-left: 1px;
}

.timeline-comment-avatar {
  border-radius: 6px;
  float: left;
  margin-left: -56px;
}

.upload-enabled textarea {
  border-bottom: 1px dashed #d0d7de;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  display: block;
}

.previewable-comment-form textarea {
  display: block;
  max-height: 500px;
  min-height: 100px;
  padding: 8px;
  resize: vertical;
  width: 100%;
}

.manual-file-chooser-transparent {
  min-height: 0;
  opacity: .01;
  overflow: hidden;
}

.drag-and-drop {
  border-color: #d0d7de;
}

.tabnav-tab.selected,
.tabnav-tab[aria-current]:not([aria-current=false]),
.tabnav-tab[aria-selected=true] {
  background-color: #fff;
  border-color: #d0d7de;
  border-radius: 6px 6px 0 0;
  color: #24292f;
  border-bottom: 1px solid white;
  margin-bottom: -1px;
}

.manual-file-chooser-transparent {
  min-height: 0;
  opacity: .01;
  overflow: hidden;
}

.drag-and-drop {
  background-color: #f6f8fa;
  border: 1px solid #d0d7de;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  border-top: 0;
  color: #57606a;
  font-size: 13px;
  line-height: 16px;
  margin: 0;
  padding: 7px 10px;
}

.previewable-comment-form textarea {
  display: block;
  max-height: 500px;
  min-height: 100px;
  padding: 8px;
  resize: vertical;
  width: 100%;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.btn-primary.disabled,
.btn-primary:disabled,
.btn-primary[aria-disabled=true] {
  background-color: #94d3a2;
  border-color: #1b1f2426;
  color: #ffffffcc;
}

.page-responsive .previewable-comment-form .comment-form-head.tabnav {
  background: #f6f8fa;
}

.tabnav-tab {
  background-color: transparent;
  border: 1px solid transparent;
  border-bottom: 0;
  color: #57606a;
  display: inline-block;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 23px;
  padding: 8px 16px;
  text-decoration: none;
  transition: color .2s cubic-bezier(.3, 0, .5, 1);
}

.toolbar-item {
  background: none;
  border: 0;
  color: #57606a;
  cursor: pointer;
  display: block;
  float: left;
  font-size: 14px;
  padding: 4px;
}

.tabnav--responsive .tabnav-tabs {
  z-index: 1;
}

.my-md-2 {
  margin-bottom: 8px !important;
  margin-top: 8px !important;
}

.comment-form-head .toolbar-commenting {
  float: right;
}


.previewable-comment-form,
.write-content {
  position: relative;
}

.previewable-comment-form {
  display: block;
}

.comment-form-head.tabnav {
  background: #f6f8fa;
}

.p-md-1 {
  padding: 4px !important;
}

.toolbar-item.dropdown,
.toolbar-item.select-menu {
  padding: 0;
}
